package com.taoding.springbootbase.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 系统日志
 * </p>
 *
 * @author lxh123
 * @since 2019-12-04
 */
public class Log extends Model<Log> {

    private static final long serialVersionUID = 1L;

    private String id;
    private String content;
    @TableField("corp_id")
    private String corpId;
    @TableField("create_time")
    private String createTime;
    private String operator;
    @TableField("operator_name")
    private String operatorName;
    private String type;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Log{" +
        ", id=" + id +
        ", content=" + content +
        ", corpId=" + corpId +
        ", createTime=" + createTime +
        ", operator=" + operator +
        ", operatorName=" + operatorName +
        ", type=" + type +
        "}";
    }
}
